package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 tk_message_scenario
 * 
 * @author ruoyi
 * @date 2025-04-22
 */
public class TkMessageScenario extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 场景ID */
    @Excel(name = "场景ID")
    private Long sceneId;

    /** 场景名称 */
    @Excel(name = "场景名称")
    private String sceneName;

    /** 对话ID */
    @Excel(name = "对话ID")
    private Long chatId;

    /** 回答模板(可含变量如%name%) */
    @Excel(name = "回答模板(可含变量如%name%)")
    private String answer;

    /** 触发问题(JSON数组或单个问题) */
    @Excel(name = "触发问题(JSON数组或单个问题)")
    private String question;

    /** 回答文本 */
    @Excel(name = "回答文本")
    private String answerText;

    /** 下一跳对话ID */
    @Excel(name = "下一跳对话ID")
    private Long nextId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSceneId(Long sceneId) 
    {
        this.sceneId = sceneId;
    }

    public Long getSceneId() 
    {
        return sceneId;
    }
    public void setSceneName(String sceneName) 
    {
        this.sceneName = sceneName;
    }

    public String getSceneName() 
    {
        return sceneName;
    }
    public void setChatId(Long chatId) 
    {
        this.chatId = chatId;
    }

    public Long getChatId() 
    {
        return chatId;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }
    public void setAnswerText(String answerText) 
    {
        this.answerText = answerText;
    }

    public String getAnswerText() 
    {
        return answerText;
    }
    public void setNextId(Long nextId) 
    {
        this.nextId = nextId;
    }

    public Long getNextId() 
    {
        return nextId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sceneId", getSceneId())
            .append("sceneName", getSceneName())
            .append("chatId", getChatId())
            .append("answer", getAnswer())
            .append("question", getQuestion())
            .append("answerText", getAnswerText())
            .append("nextId", getNextId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
